package ltg.ibutton.core;

public class Button {
	private String id;
	
	public Button(String id) {
		this.id = id;
	}
	
	public String getId() {
		return id;
	}
	
	public String toString() {
		return "Button: " + this.getId() + "\n";
	}
	
	public boolean equals(Object b) {
		if(this.id.equals(((Button) b).id))
			return true;
		else
			return false;
	}
}
